package com.midou.administration.service;


import com.midou.administration.bo.Msg;
import com.midou.administration.bo.OrderAllBo;
import com.midou.administration.entity.Order;
import com.midou.administration.entity.OrderInfo;
import com.midou.administration.utils.Settlement;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.aspectj.weaver.ast.Or;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author MrChen
 * @since 2021-03-24
 */
public interface OrderService{

    /*根据订单id 查询订单信息返回订单对象中包含该订单的订单详情*/
   List<OrderAllBo> queryOrderAndInfoById(Integer orderId);

    /**
     * 结账方法
     * @param Settlement    结账类
     * @return  一个消息类
     */
   Msg jiezhang(Settlement Settlement);

    /**
     * 用户下单
     * @param order 订单信息更改过
     * @return  返回订单信息
     */
   Order addDingdan(Order order);
   Order seeDeskOrderInfo(Integer did,Integer state);


}
